Skip to content

refactor(hash-aggr): Migrate partial-reduce hash aggregation#23233

Open
2010YOUY01 wants to merge 1 commit into
apache:mainfrom
2010YOUY01:split-aggr-partial-reduce
Open

refactor(hash-aggr): Migrate partial-reduce hash aggregation#23233
2010YOUY01 wants to merge 1 commit into
apache:mainfrom
2010YOUY01:split-aggr-partial-reduce

Conversation

@2010YOUY01

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

Part of #22710

This PRs implements the partial-reduce aggregation.

Comments at datafusion/physical-plan/src/aggregates/partial_reduce_stream.rs explains the high-level idea.

What changes are included in this PR?

  • Adds an AggregateHashTable<PartialReduceMarker> variant to handle partial-reduce aggregation.
  • Adds PartialReduceHashAggregateStream to implement the partial-reduce state machine.

Are these changes tested?

Covered by existing tests

Are there any user-facing changes?

No

@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Jun 29, 2026
@2010YOUY01 2010YOUY01 requested a review from alamb June 29, 2026 11:41
@alamb

alamb commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

This is on my review radar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants